<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: ChunkFMT结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">成员变量</a>  </div>
  <div class="headertitle"><div class="title">ChunkFMT结构体 参考</div></div>
</div><!--header-->
<div class="contents">

<p>fmt 块  
 <a href="struct_chunk_f_m_t.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="wav__parser_8h_source.html">wav_parser.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
成员变量</h2></td></tr>
<tr class="memitem:afdc824625f95881975cba3ea49675ff6"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_chunk_f_m_t.html#afdc824625f95881975cba3ea49675ff6">ChunkID</a></td></tr>
<tr class="memdesc:afdc824625f95881975cba3ea49675ff6"><td class="mdescLeft">&#160;</td><td class="mdescRight">chunk id;这里固定为"fmt ",即0X20746D66  <a href="struct_chunk_f_m_t.html#afdc824625f95881975cba3ea49675ff6">更多...</a><br /></td></tr>
<tr class="separator:afdc824625f95881975cba3ea49675ff6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a87c23c12f9f531b128aefe10071a36c1"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_chunk_f_m_t.html#a87c23c12f9f531b128aefe10071a36c1">ChunkSize</a></td></tr>
<tr class="memdesc:a87c23c12f9f531b128aefe10071a36c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">子集合大小(不包括ID和Size);这里为:20.  <a href="struct_chunk_f_m_t.html#a87c23c12f9f531b128aefe10071a36c1">更多...</a><br /></td></tr>
<tr class="separator:a87c23c12f9f531b128aefe10071a36c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab42b36987ea0001422241dfcb3d71469"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_chunk_f_m_t.html#ab42b36987ea0001422241dfcb3d71469">AudioFormat</a></td></tr>
<tr class="memdesc:ab42b36987ea0001422241dfcb3d71469"><td class="mdescLeft">&#160;</td><td class="mdescRight">音频格式;0X01,表示线性PCM;0X11表示IMA ADPCM  <a href="struct_chunk_f_m_t.html#ab42b36987ea0001422241dfcb3d71469">更多...</a><br /></td></tr>
<tr class="separator:ab42b36987ea0001422241dfcb3d71469"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ef58422513cea91641e9905f6b91a0a"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_chunk_f_m_t.html#a8ef58422513cea91641e9905f6b91a0a">NumOfChannels</a></td></tr>
<tr class="memdesc:a8ef58422513cea91641e9905f6b91a0a"><td class="mdescLeft">&#160;</td><td class="mdescRight">通道数量;1,表示单声道;2,表示双声道;  <a href="struct_chunk_f_m_t.html#a8ef58422513cea91641e9905f6b91a0a">更多...</a><br /></td></tr>
<tr class="separator:a8ef58422513cea91641e9905f6b91a0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a930ec675cfdc1a0f18f3414583f7b950"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_chunk_f_m_t.html#a930ec675cfdc1a0f18f3414583f7b950">SampleRate</a></td></tr>
<tr class="memdesc:a930ec675cfdc1a0f18f3414583f7b950"><td class="mdescLeft">&#160;</td><td class="mdescRight">采样率;0X1F40,表示8Khz  <a href="struct_chunk_f_m_t.html#a930ec675cfdc1a0f18f3414583f7b950">更多...</a><br /></td></tr>
<tr class="separator:a930ec675cfdc1a0f18f3414583f7b950"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ac6d1010b60ba506bf0081a26e867a3"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_chunk_f_m_t.html#a9ac6d1010b60ba506bf0081a26e867a3">ByteRate</a></td></tr>
<tr class="memdesc:a9ac6d1010b60ba506bf0081a26e867a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">字节速率;  <a href="struct_chunk_f_m_t.html#a9ac6d1010b60ba506bf0081a26e867a3">更多...</a><br /></td></tr>
<tr class="separator:a9ac6d1010b60ba506bf0081a26e867a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7344ede64a4dc451570438de23295f3"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_chunk_f_m_t.html#ab7344ede64a4dc451570438de23295f3">BlockAlign</a></td></tr>
<tr class="memdesc:ab7344ede64a4dc451570438de23295f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">块对齐(字节);  <a href="struct_chunk_f_m_t.html#ab7344ede64a4dc451570438de23295f3">更多...</a><br /></td></tr>
<tr class="separator:ab7344ede64a4dc451570438de23295f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d34774dc01aa58a0b4152e6cd8b8c10"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_chunk_f_m_t.html#a9d34774dc01aa58a0b4152e6cd8b8c10">BitsPerSample</a></td></tr>
<tr class="memdesc:a9d34774dc01aa58a0b4152e6cd8b8c10"><td class="mdescLeft">&#160;</td><td class="mdescRight">单个采样数据大小;4位ADPCM,设置为4  <a href="struct_chunk_f_m_t.html#a9d34774dc01aa58a0b4152e6cd8b8c10">更多...</a><br /></td></tr>
<tr class="separator:a9d34774dc01aa58a0b4152e6cd8b8c10"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >fmt 块 </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00035">35</a> 行定义.</p>
</div><h2 class="groupheader">结构体成员变量说明</h2>
<a id="afdc824625f95881975cba3ea49675ff6" name="afdc824625f95881975cba3ea49675ff6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdc824625f95881975cba3ea49675ff6">&#9670;&#160;</a></span>ChunkID</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ChunkID</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>chunk id;这里固定为"fmt ",即0X20746D66 </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00037">37</a> 行定义.</p>

</div>
</div>
<a id="a87c23c12f9f531b128aefe10071a36c1" name="a87c23c12f9f531b128aefe10071a36c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a87c23c12f9f531b128aefe10071a36c1">&#9670;&#160;</a></span>ChunkSize</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ChunkSize</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>子集合大小(不包括ID和Size);这里为:20. </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00038">38</a> 行定义.</p>

</div>
</div>
<a id="ab42b36987ea0001422241dfcb3d71469" name="ab42b36987ea0001422241dfcb3d71469"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab42b36987ea0001422241dfcb3d71469">&#9670;&#160;</a></span>AudioFormat</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t AudioFormat</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>音频格式;0X01,表示线性PCM;0X11表示IMA ADPCM </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00039">39</a> 行定义.</p>

</div>
</div>
<a id="a8ef58422513cea91641e9905f6b91a0a" name="a8ef58422513cea91641e9905f6b91a0a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ef58422513cea91641e9905f6b91a0a">&#9670;&#160;</a></span>NumOfChannels</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t NumOfChannels</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通道数量;1,表示单声道;2,表示双声道; </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00040">40</a> 行定义.</p>

</div>
</div>
<a id="a930ec675cfdc1a0f18f3414583f7b950" name="a930ec675cfdc1a0f18f3414583f7b950"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a930ec675cfdc1a0f18f3414583f7b950">&#9670;&#160;</a></span>SampleRate</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t SampleRate</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>采样率;0X1F40,表示8Khz </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00041">41</a> 行定义.</p>

</div>
</div>
<a id="a9ac6d1010b60ba506bf0081a26e867a3" name="a9ac6d1010b60ba506bf0081a26e867a3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ac6d1010b60ba506bf0081a26e867a3">&#9670;&#160;</a></span>ByteRate</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t ByteRate</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>字节速率; </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00042">42</a> 行定义.</p>

</div>
</div>
<a id="ab7344ede64a4dc451570438de23295f3" name="ab7344ede64a4dc451570438de23295f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7344ede64a4dc451570438de23295f3">&#9670;&#160;</a></span>BlockAlign</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t BlockAlign</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>块对齐(字节); </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00043">43</a> 行定义.</p>

</div>
</div>
<a id="a9d34774dc01aa58a0b4152e6cd8b8c10" name="a9d34774dc01aa58a0b4152e6cd8b8c10"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9d34774dc01aa58a0b4152e6cd8b8c10">&#9670;&#160;</a></span>BitsPerSample</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t BitsPerSample</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>单个采样数据大小;4位ADPCM,设置为4 </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00044">44</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
